{% extends 'Base/main.content.lists.div.html.twig' %}
{% import 'Base/list_item.twig' as listItem %}
{% block addBtn %}{% endblock %}
{#{% block delBtn %}{% endblock %}#}

{% block tableHead %}
    <tr>
        <th align="" width="">选择</th>
        <th align="" width="">名称</th>
        <th align="" width="">手机号</th>
        <th align="" width="">学校</th>
        <th align="" width="">课程</th>
        <th align="" width="">创建时间</th>
        <th align="" width="">状态</th>
        <th align="" width="">处理信息</th>
        <th align="" width="">处理时间</th>
        <th align="" width="">操作</th>
    </tr>
{% endblock %}
{% block tableList %}
    {% for Entity in lists %}
        <tr>
            <td align='' width=''>
                <span class="checkall"><input lay-skin="primary" type="checkbox" name="ids[]" value="{{ Entity.ClassOrder_id }}"/></span>
            </td>
            <td align='' width='' id='name_{{ Entity.ClassOrder_id }}'>
                {{ listItem.text('name',Entity.ClassOrder_name,Entity.ClassOrder_id) }}
            </td>
            <td align='' width='' id='phone_{{ Entity.ClassOrder_id }}'>
                {{ listItem.text('phone',Entity.ClassOrder_phone,Entity.ClassOrder_id) }}
            </td>
            <td align='' width='' id='school_{{ Entity.ClassOrder_id }}'>
                {{ listItem.text('school',Entity.ClassOrder_school,Entity.ClassOrder_id) }}
            </td>
            <td align='' width='' id='class_{{ Entity.ClassOrder_id }}'>
                {{ listItem.text('class',Entity.ClassOrder_class,Entity.ClassOrder_id) }}
            </td>
            <td align='' width='' id='addtime_{{ Entity.ClassOrder_id }}'>
                {{ listItem.day('addtime',Entity.ClassOrder_addtime,Entity.ClassOrder_id) }}
            </td>
            <td align='' width='' id='status_{{ Entity.ClassOrder_id }}'>
                {{ listItem.text('status',Entity.ClassOrder_status,Entity.ClassOrder_id) }}
            </td>
            <td align='' width='' id='msg_{{ Entity.ClassOrder_id }}'>
                {{ listItem.text('msg',Entity.ClassOrder_msg,Entity.ClassOrder_id) }}
            </td>
            <td align='' width='' id='dealtime_{{ Entity.ClassOrder_id }}'>
                {{ listItem.day('dealtime',Entity.ClassOrder_dealtime,Entity.ClassOrder_id) }}
            </td>
            <td align='' width=''>
                {{ listItem.edit('ClassOrder','',Entity.ClassOrder_id) }}
            </td>
        </tr>
    {% endfor %}
{% endblock %}
{% block script %}
{% endblock %}

